package cate.game.role.res.treasureturntable.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTreasureTurntable;
import cate.game.res.MixRes;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "转盘抽奖的返回")
public class TreasureTurntableDrawResp implements MsgOutput {
    @NoteField(value = "本次抽奖的奖励")
    public MixRes reward;

    @NoteField(value = "抽完奖后轮盘停留的位置")
    public int lastPos;

    public TreasureTurntableDrawResp(){

    }

    public TreasureTurntableDrawResp(MixRes reward, int lastPos) {
        this.reward = reward;
        this.lastPos = lastPos;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTreasureTurntable.DRAW_RESP;
    }
}
